<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<html lang="cn">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>这里是首页</h1>
    <table>
        <tr>
            <th>编号</th>
            <th>姓名</th>
        </tr>
        <tr th:each="user:${users}">
            <td th:text="${userStat.count}"></td>
            <td th:text="${user.name}"></td>
        </tr>
    </table>
</body>
</html>